#ifndef USER_H
#define USER_H
#include <QGlobalStatic>
#include <qstring.h>
#include "QDebug"
#include"UserManager.h"
class User1
{
public:
    User1();
    UserManager globalManager;
    UserManager backUp;
    int userIndex;
    QString username;
    static User1* instance();
    void setUserIndex(int a);
    void setUserName(QString username);
    QString getUserName();
    int getUserIndex();
    int currentTableIndex;
};

#endif // USER_H
